package com.ruoyi.project.system.submit.domain;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.project.system.job.domain.JobCourseClass;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 作业-提交记录对象 job_submit
 *
 * @author ruoyi
 * @date 2021-04-20
 */
public class JobSubmit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 作业表ID */
    @Excel(name = "作业表ID")
    private Long jobId;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 学生用户ID */
    @Excel(name = "学生用户ID")
    private Long studentId;

    /** 状态 1.已提交 2.已批阅 3.未提交 */
    @Excel(name = "状态 1.已提交 2.已批阅 3.未提交")
    private Integer status;

    /** 所得分值 */
    @Excel(name = "所得分值")
    private BigDecimal score;

    /** 附件地址 */
    @Excel(name = "附件地址")
    private String enclosureUrl;

    private String studentName;

    private String jobTitle;

    private String className;

    private String jobType;

    private Long groupId;

    private List<JobCourseClass> jobCourseClassList;

    private BigDecimal sumScore;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setJobId(Long jobId)
    {
        this.jobId = jobId;
    }

    public Long getJobId()
    {
        return jobId;
    }
    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setScore(BigDecimal score)
    {
        this.score = score;
    }

    public BigDecimal getScore()
    {
        return score;
    }
    public void setEnclosureUrl(String enclosureUrl)
    {
        this.enclosureUrl = enclosureUrl;
    }

    public String getEnclosureUrl()
    {
        return enclosureUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("jobId", getJobId())
            .append("classId", getClassId())
            .append("studentId", getStudentId())
            .append("status", getStatus())
            .append("score", getScore())
            .append("enclosureUrl", getEnclosureUrl())
            .toString();
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public List<JobCourseClass> getJobCourseClassList() {
        return jobCourseClassList;
    }

    public void setJobCourseClassList(List<JobCourseClass> jobCourseClassList) {
        this.jobCourseClassList = jobCourseClassList;
    }

    public BigDecimal getSumScore() {
        return sumScore;
    }

    public void setSumScore(BigDecimal sumScore) {
        this.sumScore = sumScore;
    }
}
